package com.ww.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/test")
public class testController {


    @GetMapping
    public void test() {

    }

    @RequestMapping("test1")
    @ResponseBody
    public void test1(@RequestParam(value = "wallpaperName") String wallpaperName,
                      @RequestParam(value = "wallpaperUrl") String wallpaperUrl) {

        System.out.println("wallpaperName = " + wallpaperName);
        System.out.println("wallpaperUrl = " + wallpaperUrl);

    }


}
